package com.sora.staservice.client;

import com.sora.commonutils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

/**
 * @Classname: UcenterClient
 * @Description:
 * @Author: Stonffe
 * @Date: 2023/1/15 13:38
 */
@Component
@FeignClient("service-ucenter")
public interface UcenterClient {
    /**
     * 根据日期，获取那天注册人数
     * @param day
     * @return
     */
    @GetMapping("/educenter/member/countRegister/{day}")
    R countRegister(@PathVariable String day);
}
